//
// Created by HZH on 2023-04-29.
//

#ifndef BZDB_BZDB_BINARY_OPERATE_H
#define BZDB_BZDB_BINARY_OPERATE_H

#ifdef __cplusplus
extern "C"{
#endif

unsigned char BzDB_binary_convert_bin_to_uchar(int binary_list[],int len);
void BzDB_binary_convert_bin_list_to_uchar(int binary_list[],int b_len , unsigned char c_list[] , int c_len);


void BzDB_binary_convert_uchar_to_bin(unsigned char c, int binary_list[],int len);
void BzDB_binary_convert_uchar_list_to_bin(unsigned char c_list[],int c_len , int binary_list[],int b_len);

#ifdef __cplusplus
};
#endif
#endif //BZDB_BZDB_BINARY_OPERATE_H
